import request from './request'

/**
 * 获取文件库列表
 * @param {*} params
 * @returns
 */
export const getFileList = (params) => {
  return request({
    url: '/file/list',
    params
  })
}

/**
 * 获取图标库列表
 * @returns
 */
export const getIconList = () => {
  return request({
    url: '/icon/list'
  })
}

/**
 * 获取登录日志列表
 * @param {*} params
 * @returns
 */
export const getLoginLogList = (params) => {
  return request({
    url: '/login_log/list',
    params
  })
}

/**
 * 获取操作日志列表
 * @param {*} params
 * @returns
 */
export const getOperationLogList = (params) => {
  return request({
    url: '/operation_log/list',
    params
  })
}
